package com.zzyl.nursing.service.member;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.domain.Reservation;
import com.zzyl.nursing.dto.memberDto.ReservationDto;
import com.zzyl.nursing.dto.memberDto.ReservationPageDto;

public interface IMemberReservationService extends IService<Reservation> {
    void saveReservation(ReservationDto reservationDto);

    IPage<Reservation> pageReservation(ReservationPageDto reservationPageDto);

    void cancelReservation(Long id);

    Integer cancelledCount();

}
